<?php

namespace App\Models\user;

use App\Models\base\traits\HasOwner;
use App\Models\base\traits\ImgTrait;
use Illuminate\Database\Eloquent\Model;

/**
 * App\Models\user\Feedback
 *
 * @property int $id
 * @property int $user_id
 * @property string $content 反馈内容
 * @property string|null $imgs 反馈图片
 * @property \Illuminate\Support\Carbon|null $created_at
 * @property \Illuminate\Support\Carbon|null $updated_at
 * @property-read mixed $header_img
 * @property-read mixed $icon
 * @property mixed $icons
 * @property-read mixed $img
 * @property mixed $parameter
 * @property-read \App\Models\User $user
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\user\Feedback newModelQuery()
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\user\Feedback newQuery()
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\user\Feedback owner($userId)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\user\Feedback query()
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\user\Feedback whereContent($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\user\Feedback whereCreatedAt($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\user\Feedback whereId($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\user\Feedback whereImgs($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\user\Feedback whereUpdatedAt($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\user\Feedback whereUserId($value)
 * @mixin \Eloquent
 */
class Feedback extends Model
{
    use HasOwner,ImgTrait;

    protected $fillable = [
        'user_id',
        'content',
        'imgs'
    ];
}
